#include <stdio.h>
#include <string.h>
int my_strcmp(char* s1, char* s2)
{
	while (*s1 == *s2)
	{
		if (*s1 == '\0')
		{
			return 0;
		}
		s1++;
		s2++;
	}
	if (*s1 > *s2)
	{
		return 1;
	}
	else
	{
		return -1;
	}
}
int main()
{
	char a[] = "abcdefrttt";
	char b[] = "abcdefrt";
	int ret =  my_strcmp(a, b);
	printf("%d\n", ret);
	return 0;
}